# coding:utf-8
# 作者：理想国真恵玩
import pandas as pd
import numpy as np
# 全局取消证书验证
import ssl

ssl._create_default_https_context = ssl._create_unverified_context
wis = pd.read_csv(
    "https://archive.ics.uci.edu/ml/machine-learning-databases/breast-cancer-wisconsin/breast-cancer-wisconsin.data")

# 把一些其它值标记的缺失值，替换成np.nan
wis = wis.replace(to_replace='?', value=np.nan)

# 删除
wis = wis.dropna()

print(wis)
print(np.all(wis.notnull()))
